#include "simyard.h"

#include "../gamestate.h"
#include "../module.h"

SimYard::SimYard(){
}

void SimYard::Setup(){
    gamestate->CreateModule();
}

void SimYard::Update(int dt){
    std::vector<Module*> modules = gamestate->GetModules();
    for(Module* module:modules){
        module->Update(dt);
    }
}
